# Contributor: Angelo Verlain <hey@vixalien.com>
maintainer="Angelo Verlain <hey@vixalien.com>"
pkgname=elementary-feedback
pkgver=8.0.0
pkgrel=0
pkgdesc="GitHub Issue Reporter for elementary OS"
url="https://github.com/elementary/feedback"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	appstream-dev
	granite7-dev
	gtk4.0-dev
	libadwaita-dev
	meson
	vala
	"
subpackages="$pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/elementary/feedback/archive/refs/tags/$pkgver.tar.gz"

builddir="$srcdir/feedback-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f076decc9a0bf10fb1174237baf1286bce9ebae3553e05f4558cc5355559ecd2e69cc9a4e22337c7863d7ce227bb46d92eb035ca043479e556b709a10d4db8c9  elementary-feedback-8.0.0.tar.gz
"
